package cc.ucanuup;

import java.util.HashSet;
import java.util.Set;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableTransactionManagement
@EnableJpaAuditing
@SpringBootApplication
/*@EnableAutoConfiguration(exclude = {})*/
public class App {

	public static void main(String[] args) {
		// 启动控制层
		SpringApplication app = new SpringApplication(App.class);
		app.setWebEnvironment(true);
		//app.setShowBanner(false);
		Set<Object> set = new HashSet<Object>();
		//set.add("classpath:applicationContext.xml");
		app.setSources(set);
		app.run(args);
	}
}
